package com.ztf.employee.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author ztf
 * @email ztf@gmail.com
 * @date 2020-04-16 19:21:33
 */
@Data
@TableName("employee")
public class EmployeeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 员工id
	 */
	@TableId
	private Integer employeeId;
	/**
	 * 员工工号
	 */
	private String employeeNumber;
	/**
	 * 员工密码
	 */
	private String employeePassword;
	/**
	 * 员工姓名
	 */
	private String employeeName;
	/**
	 * 员工头像
	 */
	private String headUrl;
	/**
	 * 员工性别
	 */
	private String employeeSex;
	/**
	 * 员工年龄
	 */
	private Integer employeeAge;
	/**
	 * 员工民族
	 */
	private String employeeNation;
	/**
	 * 员工生日
	 */
	private Date employeeBrithday;
	/**
	 * 员工手机号
	 */
	private String employeePhone;
	/**
	 * 员工籍贯
	 */
	private String employeeAddres;
	/**
	 * 员工职位:0：普通员工，1：部门领导
	 */
	private Integer post;
	/**
	 * 员工状态，0：在职；1：离职
	 */
	private Integer employeeStatus;
	/**
	 * 入职日期
	 */
	private Date createTime;
	/**
	 * 离职日期
	 */
	private Date endTime;
	/**
	 * 部门id，外键
	 */
	private Integer departmentId;

}
